package com.start.manager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.start.manager.domain.entity.RoleButton;

import java.util.Set;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Lijian
 * @since 2020-01-07
 */
public interface IRoleButtonService extends IService<RoleButton> {

    /**
     * 根据用户角色 获取 权限的集合
     *
     * @param roleId
     * @return
     */
    Set<Integer> findAllByRoleId(Integer roleId);
}
